package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生成绩对象 tb_score
 * 
 * @author ruoyi
 * @date 2025-03-31
 */
public class ScoreEntity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学号（主键） */
    private String studentId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String studentName;

    /** 组号（关联tb_group.group_id） */
    @Excel(name = "组号", readConverterExp = "关=联tb_group.group_id")
    private Long groupId;

    /** 作业成绩(百分制) */
    @Excel(name = "作业成绩(百分制)")
    private BigDecimal assignmentScore;

    /** 考试成绩(百分制) */
    @Excel(name = "考试成绩(百分制)")
    private BigDecimal examScore;

    /** 签到成绩(百分制) */
    @Excel(name = "签到成绩(百分制)")
    private BigDecimal attendanceScore;

    /** 课程积分 */
    @Excel(name = "课程积分")
    private BigDecimal coursePoints;

    /** 分组任务成绩(百分制) */
    @Excel(name = "分组任务成绩(百分制)")
    private BigDecimal pblScore;

    /** 综合成绩(百分制) */
    @Excel(name = "综合成绩(百分制)")
    private BigDecimal totalScore;

    public void setStudentId(String studentId) 
    {
        this.studentId = studentId;
    }

    public String getStudentId() 
    {
        return studentId;
    }

    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }

    public void setGroupId(Long groupId) 
    {
        this.groupId = groupId;
    }

    public Long getGroupId() 
    {
        return groupId;
    }

    public void setAssignmentScore(BigDecimal assignmentScore) 
    {
        this.assignmentScore = assignmentScore;
    }

    public BigDecimal getAssignmentScore() 
    {
        return assignmentScore;
    }

    public void setExamScore(BigDecimal examScore) 
    {
        this.examScore = examScore;
    }

    public BigDecimal getExamScore() 
    {
        return examScore;
    }

    public void setAttendanceScore(BigDecimal attendanceScore) 
    {
        this.attendanceScore = attendanceScore;
    }

    public BigDecimal getAttendanceScore() 
    {
        return attendanceScore;
    }

    public void setCoursePoints(BigDecimal coursePoints) 
    {
        this.coursePoints = coursePoints;
    }

    public BigDecimal getCoursePoints() 
    {
        return coursePoints;
    }

    public void setPblScore(BigDecimal pblScore) 
    {
        this.pblScore = pblScore;
    }

    public BigDecimal getPblScore() 
    {
        return pblScore;
    }

    public void setTotalScore(BigDecimal totalScore) 
    {
        this.totalScore = totalScore;
    }

    public BigDecimal getTotalScore() 
    {
        return totalScore;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentId", getStudentId())
            .append("studentName", getStudentName())
            .append("groupId", getGroupId())
            .append("assignmentScore", getAssignmentScore())
            .append("examScore", getExamScore())
            .append("attendanceScore", getAttendanceScore())
            .append("coursePoints", getCoursePoints())
            .append("pblScore", getPblScore())
            .append("totalScore", getTotalScore())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
